package team.first.movieapiv1pro.util;

import cn.hutool.core.util.IdUtil;

/**
 * @Author: HAPPY
 * @Project_name: project
 * @Package_name: team.first.movieapiv1pro.util
 * @Date: 2021/12/24 16:10
 * @Description: 生成用户令牌
 */
public class TokenUtil {

    public static String getSimpleToken() {
        String nanoId = IdUtil.nanoId();
        return nanoId;
    }

    public static String getVipToken() {
        String nanoId = IdUtil.fastSimpleUUID();
        return nanoId;
    }
}
